package com.pzhu.gmall.manage.service.impl;

import java.util.List;

import com.pzhu.gmall.bean.PmsProductSaleAttr;
import com.pzhu.gmall.manage.mapper.PmsProductSaleAttrMapper;
import com.pzhu.gmall.service.SaleAttributeService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author 刘鹏 liupeng
 * @date 2019/11/1
 **/
@Service
public class SaleAttributeServiceImpl implements SaleAttributeService {
    @Autowired
    private PmsProductSaleAttrMapper pmsProductSaleAttrMapper;

    @Override
    public List<PmsProductSaleAttr> getPmsProductSaleAttrList(String spuId) {
        return pmsProductSaleAttrMapper.selectSaleAttrList(spuId);
    }
}
